package io.wmy.supex.modules.demo.service;

import io.wmy.supex.modules.demo.model.User;

import java.util.Set;

/**
 * 用户业务逻辑层
 *
 * @author BlaerQiao
 */
public interface IUserService {
    User getUser(Integer id);

    Set<String> findRoles(String userName);

    Set<String> findPermissions(String userName);

    User findByUsername(String userName);

}
